AC_INIT(Makefile.am)
SPARROW_MAJOR_VERSION=0
SPARROW_MINOR_VERSION=0
SPARROW_VERSION=$SPARROW_MAJOR_VERSION.$SPARROW_MINOR_VERSION
AC_SUBST(SPARROW_MAJOR_VERSION)
AC_SUBST(SPARROW_MINOR_VERSION)
AC_SUBST(SPARROW_VERSION)

AM_INIT_AUTOMAKE(sparrow,$SPARROW_VERSION)
AM_CONFIG_HEADER(src/sparrow/config.h)
AC_PROG_CXX
AC_PROG_CC
AC_PROG_LIBTOOL
LT_REVISION=1
AC_SUBST(LT_REVISION)
AC_PROG_INSTALL
AC_OUTPUT(
          [Makefile
          doc/Makefile
          src/Makefile
          src/sparrow/Makefile
          tests/Makefile
          examples/Makefile
          examples/udp_echo/Makefile
          examples/tcp_echo/Makefile
          examples/http-server/Makefile
          examples/radius-server/Makefile])
